<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<c:set var="webPath" value="${request.getContextPath() }"></c:set>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>模板列表</title>
    <link href="${path}/css/style.css" rel="stylesheet" type="text/css">
    <link href="css/template_menu.css" rel="stylesheet" type="text/css">
    <link href="${path}/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path}/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path}/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/common/plugins/layer/layer.js"></script>
    <script src="${path}/js/common.js" type="text/javascript"></script>
    <script src="js/template_menu.js"></script>
    <script type="text/javascript">
    	var webPath="${path}";
    </script>
</head>
<body>
<input id="webPath" type="hidden" value="${path }" />
<div class="content_detail">
    <div class="control-title">
        <i class="user_manage content_current"></i><span>模板列表信息</span>
        <div class="spanbtn">
            <button class="press_btn1 addbtn add_action"><i class="add top_current"></i>添加</button>
            <button class="press_btn2 delbtn del_action"><i class="del top_current"></i>删除</button>
        </div>
    </div>
 	<div class="content_table">
    	查看群组下模板列表：<select id="searchTemplateByHostGroup">
    		<option value="0">请选择</option>
    		<c:forEach var="hostGroup" items="${hostGroupList }">
    			<c:if test="${hostGroup.groupid==groupid }">
	    			<option value="${hostGroup.groupid }" selected="selected">${hostGroup.name }</option>
    			</c:if>
    		</c:forEach>
    	</select>        
    </div>
    <div class="content_table">
            <table class="table table-striped table-bordered table-hover table-ellipsis details">
                 <thead id="pageTitle">
                
				 </thead>
                 <tbody id="pageTable">
				        
                  </tbody> 
            </table>
            <!-- 引入-->
            <%@ include file="/common/jsp/footer_pager.jsp"%>
        </div>
</div>
</body>
<script src="${path}/js/user_js.js"></script>
<script src="${path}/js/action_privilege.js"></script>   
</html>
